<!--
INPUT
    <msg_master ORM> $model : the parent msg
    <user ORM> $user        : current-user
-->
<div class="wall_comment">
    <form action="" method="post">
        <?php
            $profpic = new ORM('photo');
            $profpic->find($user->photo_id);
        ?>
        <img class="profpic" src="<?php echo URL::site($profpic->link) ?>" alt="wallimg" />
        <div class="right">
            <div class="text_area"><textarea cols="65" rows="3" name="content"></textarea></div>
            <div class="wall_submission"><input type="submit" value="post" /></div>
            <input type="hidden" name="key" value="reply" />
            <input type="hidden" name="parent_msg_id" value="<?php echo $model->id ?>" />
        </div>
        <div class="clear"></div>
    </form>
</div>
